home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 22 / AMUG_22-1.ISO / Files / Internet / Web Things / HTML 201.sit / HTML 201 / HTML 201.rsrc / TEXT_140.txt < prev    next >
Encoding:
Text File  |  1996-03-13  |  1.8 KB  |  47 lines

  1.  
  2. Miscellaneous tags
  3.  
  4. There are two tags that I will cover here. One is a tag that will center graphics and text in the middle of the web page. the other is a modification upon the body tag that will change the background color, text color, link color and visited link color of your page.
  5.  
  6. ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  7.  
  8. The center tag
  9.  
  10. <CENTER> </CENTER>
  11.  
  12. These are paired tags.
  13.  
  14. Note: Not all browsers support the center tags. Netscape and AOLs browser do.
  15.  
  16. ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  17.  
  18. Modifying the body tag
  19.  
  20. Normally the body tags are this:
  21.  
  22.  <BODY>  </BODY>
  23.  
  24. They can be modified to change the characteristics of the page: 
  25.  
  26. <BODY BGCOLOR="#ffffff" TEXT="#000000" LINK="#0000a0" VLINK="#ff0000"> </BODY> 
  27.  
  28. BGCOLOR=  This will change the background color.
  29.  
  30. TEXT= This will change the text color.
  31.  
  32. LINK= This will change the link color.
  33.  
  34. VLINK= This will change the visited link color.
  35.  
  36. The numbers and letters prefaced by the pound sign between the quotes are hexidecimal numbers that correspond to certain colors.
  37.  
  38. Note: Some people configure their browsers to show a certain background color and so on. If they do this then your changes won't be seen.
  39.  
  40. ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  41.  
  42. Summary
  43.  
  44. Text and graphics can be centered using the center tags. The colors of the background, text, links and visited links can be changed by modifying the the body tags.
  45.  
  46. Drill 9 will cover these two topics.
  47.